package com.boang.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/*
  @author: 13813
  @date: 2024/8/30 11:31
*/
@FeignClient(name = "service-order")
public interface OrderFeign {

    @RequestMapping("/getOrder/{oid}")
    public String getOrder(@PathVariable("oid") String oid);
}
